package summer_vacation.lvchang.myyVacation;

/**
 * Created by Administrator on 2015/9/7.
 */
public class Text6 {
    public static void main(String[] args) {
        int sign=1;
        double done=2.0,sum=1,term;
        do {
            term = sign / done;
            sum = sum + term;
            done++;
        }while (sum<=5.0);
            System.out.println(done);
    }
}
